<template>
    <div class="nationwide-box">
        <div class="text-box">
            <span>全国数据</span>
        </div>
        <div class="icon-box">
            <div>
                <div class="icon-wrap">
                    <div id="icon-home">20</div>
                    <div>养老机构(家)</div>
                </div>
                
            </div>

            <div>
                <div class="icon-wrap">
                    <div id="icon-point">2000</div>
                    <div>服务站点(个)</div>
                </div>
                
            </div>

            <div>
                <div class="icon-wrap">
                    <div id="icon-oldman">2000</div>
                    <div>服务老人(名)</div>
                </div>
            </div>

            <div>
                <div class="icon-wrap">
                    <div id="icon-server">3000</div>
                    <div>服务人员(名)</div>
                </div>
            </div>

            <div>
                <div class="icon-wrap">
                    <div id="icon-order" style="">300000</div>
                    <div>服务工单(单)</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return {

        }
    }
}

</script>

<style lang="scss" scoped>

.nationwide-box{
    box-sizing: border-box;
    height: 25%;
    // border: 1px solid red;
}

.text-box{
        margin-top: 29px;
        margin-left: 22px;
    & span{
        color: #1CDBFE;
        font-size: 22px;
        font-family: "SourceHanSansCN-Normal";
        
    }
}

.icon-box{
    margin: 0 50px 0 30px;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    &>div{
        flex: 1;
        height: 90px;
        // border: 1px solid greenyellow;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

}

.icon-wrap{
    margin-top:30px;
    & div:last-child{
        color:#4FA6F7;
        font-size: 19px;

    };
    & div:first-child{
        font-size: 31px;
        font-family: dpFont;
    }
}

#icon-home{
    color: #0E8BFF;
    &::before{
        content: "";
        position: absolute;
        top: 52px;
        left: 38px;
        width: 46px;
        height: 46px;
        background: url(../../../assets/icons/home.png);
        background-size: contain;
    }
}

#icon-point{
    color: #1CDBFE;
    &::before{
        content: "";
        position: absolute;
        top: 52px;
        left:210px;
        width: 46px;
        height: 46px;
        background: url(../../../assets/icons/point.png);
        background-size: contain;
    }

}


#icon-oldman{
    color: #FB9A44;
    &::before{
        content: "";
        position: absolute;
        top: 52px;
        left:380px;
        width: 46px;
        height: 46px;
        background: url(../../../assets/icons/oldman.png);
        background-size: contain;
    }

}


#icon-server{
    color: #E4C431;
    &::before{
        content: "";
        position: absolute;
        top: 52px;
        left: 550px;
        width: 46px;
        height: 46px;
        background: url(../../../assets/icons/server.png);
        background-size: contain;
    }

}

#icon-order{
    color: #0DDE9C;
    &::before{
        content: "";
        position: absolute;
        top: 52px;
        left: 716px;
        width: 46px;
        height: 46px;
        background: url(../../../assets/icons/order.png);
        background-size: contain;
    }

}

</style>